package com.lingnan.entity.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.apache.logging.log4j.core.config.plugins.validation.constraints.NotBlank;

// 系统维护公告请求
@Data
public class MaintenanceAnnouncementRequest {
    @NotNull(message = "管理员ID不能为空")
    private Long adminId;
    
    @NotBlank(message = "维护时间不能为空")
    private String maintenanceTime;
    
    @NotBlank(message = "持续时间不能为空")
    private String duration;
}